package com.bw.finance.client;

import com.bw.finance.eneity.EduCourse;
import com.bw.finance.eneity.locana.EbankLoanInfo;
import com.bw.finance.eneity.user.EbankBorrower;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("finance-service-user")
public interface FinanceUserClient {

    //借款时的服务调用
    @PostMapping("/borrower/getborrowone")
    public EbankBorrower getborrowone(EbankLoanInfo ebankLoanInfo);
}
